/*
 * @Author: Superficial
 * @Date: 2021-09-17 21:47:51
 * @LastEditTime: 2022-06-01 01:05:06
 * @Description: 环境配置
 */
export const environment = process.env.NODE_ENV
export const isDevEnv = Object.is(environment, 'development')
export const isProdEnv = Object.is(environment, 'production')
export const isTestEnv = Object.is(environment, 'test')

export default {
  isDevEnv,
  isProdEnv,
  isTestEnv,
  environment,
}
